import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';

import { HomePage } from '../home/home'; 
/**
 * Generated class for the RegisterPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */

@IonicPage() 
@Component({
  selector: 'page-register',
  templateUrl: 'register.html',
})
export class RegisterPage {

	slides = [
		{
			// title: "Welcome to the Docs!",
			// description: "The <b>Ionic Component Documentation</b> showcases a number of useful components that are included out of the box with Ionic.",
			image: "assets/imgs/1.png",
		},
		{
			image: "assets/imgs/2.png",
		},
		{
			image: "assets/imgs/3.png",
		}
	];

    constructor(public navCtrl: NavController, public navParams: NavParams) {
    }

    ionViewDidLoad() {
      console.log('ionViewDidLoad RegisterPage');
    }
	pop(){
		this.navCtrl.setRoot(HomePage);
		localStorage.setItem("laun",'1');
	}
}
